{{extend "group_layout.html"}}

{{block group_menu}}
{{include "group_menu.html"}}
{{group_menu(group.name, current="document")}}
{{end}}

{{block group_nav}}
<div class="nav">
    <a href="/group/{{=group.name}}">{{=group.caption}}</a> /
    <a href="/group/{{=group.name}}/document">Document</a>
</div>
{{end}}

{{block group_content}}
{{import os}}
<div class="panel clearfix">
    <h3>Edit: {{=os.path.basename(doc.filename)}}</h3>
    <div class="col col_8">
        {{<<form}}
    </div>
</div>
{{end}}
